<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	include "header.php"; 
?>
<script type="text/javascript" src="js/login.js"></script>
</head>

<body id="login">
<div class="header">
	<div class="pos Relative">
    	<i class="logo"></i><span><?php echo WEB_NAME;?></span>
        <h5><a href="#">首页</a> | <a href="#">帮助</a></h5>
    </div>



</div>

<form name="login" method="post" action="./?option=loginAction&type=action" id="loginForm">
<p align="center" style=" color:#F00;"><?php
	echo $_SESSION['loginErot'];
	$_SESSION['loginErot'] = '';

?></p>
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0" class="form">
  
   <tr>
    <td colspan="2" align="center">
      
    
      <h2>用户登录</h2></td>
    </tr>
  
  <tr>
    <td width="176" align="right">
   
    <label>用户名：    </label>
 
</td>
    <td width="284"><input type="text" name="userName" id="userName" /></td>
  </tr>
  <tr>
    <td align="right"><label for="password">密码： </label></td>
    <td><input type="password" name="password" id="password" /></td>
  </tr>
  <tr>
    <td align="right"><label>用户归属： </label></td>
    <td><?php partnerList('partner'); ?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" class="submit" value="登录" />&nbsp; &nbsp;<a href="./?option=reg">注册</a>    
    <input type="hidden" name="referer" id="referer" value="<?php echo $referer; ?>" />
    
    
    </td>
  </tr>
</table></form>

<div class="foot">
Copyright 2009 - <?php echo date('Y',time()) ;?> All rights 湖南大学
</div>

</body>
</html>